package com.atldy.commerce.commence.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version 1.0
 * @Author: lidongyang
 * @CreateTime: 2021-08-18 20:37
 * @Description： 扣减库存对象
 */
@ApiModel(description = "扣减库存对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeductGoodsInventory {

    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    @ApiModelProperty("扣减数量")
    private int count;

}